export interface IForm {
  isshow: boolean,
  title: string,
}
export interface IConfig {
  id: number | undefined;
  paramKey: string;
  paramValue: string;
  remark: string;
}
export interface IDirt {
  id: number | undefined;
  parentCode: number;
  dirtKey: number | string;
  dirtValue: number | string;
  parentName?: string

}
export interface IMenu {
  menuId: undefined,
  type: number,
  name: string,
  parentId: number,
  parentName: string,
  url: string,
  perms: string,
  orderNum: number,
  icon: string,

}

export interface IRole {
  roleId: undefined,

  roleName: string,

  remark: string,

}
export interface IStaff {
  id: undefined | number,
  name: string,
  jobCode: string,
  deptCode: string,
  sex: number,
  ismarry: number,
  address: string,
  enterTime: string,
  email: string,
  phone: string,
  state: number,
  edu: string
}
export interface IUser {
  id: undefined | number,
  staffId: string,
  username: string,
  password: string,
  comfirmPassword: string,
  salt: string,
  email: string,
  mobile: string,
  roleIdList: IRole[],
  status: number,
}
export interface ICombined {
  __config__?: IConfig;
  __slot__: any;
  disabled: boolean;
  accept: string;
  name: string;
  multiple: boolean;
  __vModel__: string;
}

export interface IConfig {
  label: string;
  tag: string;
  tagIcon: string;
  layout: string;
  showLabel: boolean;
  required: boolean;
  span: number;
  showTip: boolean;
  buttonText: string;
  regList: any[];
  changeTag: boolean;
  document: string;
  formId: number;
  renderKey: number;
  tips: boolean;
}
